package com.mapper;

import com.model.menu.Menu;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface MenuMapper {

	public void createMenu(Menu Menu);
	
	public void deleteMenuById(String id);
	
	public Menu findById(String id);
	
	public void updateById(Menu Menu);
	
	public List<Menu> findFristMenu(String accountId);
	
	public List<Menu> findByParentId(String parentId);
	
	public List<Menu> findByAccountId(String accountId);
	
	public void deleteByAccountId(String accountId);

}
